(*
                         main(.)
                  --------------------
                 /         |          \
              i = 0      while(.)   print(i)
                        ---------
                       /         \
                    if(.)   print("in while")
                   ------
                  /      \
               i += 1    else
                        ------
                       /      \
                    i += 2    print("else stmt")
*)

mut Int32 glob_var = 5;

fun main
{
    mut Int32 i = 0;

    while i < 20 {
        if odd(i) {
            i += 1;
        } else {
            i += 2;
            write("else stmt");
        }

        write("in while");
    }

    write(i);
}
